/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.lcfgly.Interceptor;

import java.io.Serializable;

/**
 * 上传信息Bean
 * @author lcfgly
 */
public class UploadStatus implements Serializable{
    
    //已上传的字节数  单位:字节
    private long bytesRead;
    //所有文件的总长度  单位:字节
    private long contentLength;
    //正在上传的第几个文件
    private int items;
    //开始上传时间，用于计算上传速率
    private long StartTime=System.currentTimeMillis();

    public long getBytesRead() {
        return bytesRead;
    }

    public void setBytesRead(long bytesRead) {
        this.bytesRead = bytesRead;
    }

    public long getContentLength() {
        return contentLength;
    }

    public void setContentLength(long contentLength) {
        this.contentLength = contentLength;
    }

    public int getItems() {
        return items;
    }

    public void setItems(int items) {
        this.items = items;
    }

    public long getStartTime() {
        return StartTime;
    }

    public void setStartTime(long StartTime) {
        this.StartTime = StartTime;
    }
    
}
